package com.my.chapter5;

public class practice6 {
    public static void main(String[] args) {
        short s=1;
        int i=1;
        Dog1 d = new Dog1();
        d.bark(s,i);
        d.bark(i,s);
    }
}

class Dog1{
    void bark(short s,int i){
        System.out.println("barking");
    }
    void bark(int i,short s){
        System.out.println("howling");
    }
}